package io.renren.modules.bus.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 积分规则
 * @Author lililiang
 * @Date 2019-02-23 15:07:23
 */
@Data
@EqualsAndHashCode(callSuper=false)
@ApiModel("积分规则实体")
@TableName("tb_point_rule")
public class PointRuleEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("id")
	@TableId
	private Integer id;
	@ApiModelProperty("消费金额/次")
	private BigDecimal monetaryEach;
	@ApiModelProperty("积分增值")
	private Integer integralAdd;
	@ApiModelProperty("兑换积分")
	private Integer integralConvert;
	@ApiModelProperty("兑换金额")
	private BigDecimal moneyConvert;
	@ApiModelProperty("创建人")
	private Integer author;
	@ApiModelProperty("创建时间")
	private Date createTime;
	@ApiModelProperty("修改人")
	private Integer modifier;
	@ApiModelProperty("修改时间")
	private Date modifyTime;
	@ApiModelProperty("状态，1有效，0无效，-1删除")
	private Integer status;


}
